import { option, flagList } from './baseStatistics'

export const costSums = [
  { label: '医生', value: 0 },
  { label: '已支付患者', value: 0 }
]

export const columns = [
  {
    label: '医生姓名',
    prop: 'docName',
    sortable: true
  },
  {
    label: '西药及中成药',
    children: [
      {
        label: '成方数',
        prop: 'xyPayInfoNum',
        sortable: true
      },
      {
        label: '开方数',
        prop: 'xyInfoNum',
        sortable: true
      },
      {
        label: '销售额',
        prop: 'xyPayInfoFee',
        slot: true,
        sortable: true
      }
    ]
  },
  {
    label: '中药饮片',
    children: [
      {
        label: '成方数',
        prop: 'ypPayInfoNum',
        sortable: true
      },
      {
        label: '开方数',
        prop: 'ypInfoNum',
        sortable: true
      },
      {
        label: '销售额',
        prop: 'ypPayInfoFee',
        slot: true,
        sortable: true
      }
    ]
  },
  {
    label: '颗粒剂',
    children: [
      {
        label: '成方数',
        prop: 'kljPayInfoNum',
        sortable: true
      },
      {
        label: '开方数',
        prop: 'kljInfoNum',
        sortable: true
      },
      {
        label: '销售额',
        prop: 'kljPayInfoFee',
        slot: true,
        sortable: true
      }
    ]
  },
  {
    label: '总成方数',
    prop: 'payInfoNum',
    sortable: true
  },
  {
    label: '总开方数',
    prop: 'allInfoNum',
    sortable: true
  },
  {
    label: '总销售额',
    prop: 'payFee',
    slot: true,
    sortable: true
  },
  {
    label: '总退方数',
    prop: 'refundInfoNum',
    sortable: true
  },
  {
    label: '总退方金额',
    prop: 'refundFee',
    slot: true,
    sortable: true
  }
]

export const pickerOption = option

export const typeList = flagList
